package com.zhouxiaoge.状态模式.电梯问题.one;

/**
 * @author 周小哥 gqzmy@163.com 2023/2/27 15:16
 */

public class Main {
    public static void main(String[] args) {
        LiftImpl lift = new LiftImpl();
        lift.setState(Lift.STOPPING_STATE);

        lift.open();

        lift.close();
        lift.run();
        lift.stop();
    }
}
